//
//  NetWorkSettings.h
//  laonianbang
//
//  Created by 勇拓 李 on 17/10/13.
//  Copyright © 2017年 zaiyou. All rights reserved.
//

#ifndef NetWorkSettings_h
#define NetWorkSettings_h

#define URL_HOST @"http://apitest.yczaiyou.com"
//#define URL_HOST @"http://api.yczaiyou.com"
//#define URL_HOST @"http://192.168.124.11"

#pragma mark - 注册
#define URL_Register_SMS [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/sms/userSend"]
#define URL_Register_mobileRegister [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/mobileRegister"]

#define URL_ForgetPWD [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/changePwd"]

#pragma mark - 登录
#define URL_Login [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/login"]

#pragma mark - 用户相关
#define URL_MyInfo [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/info"]

#define URL_StartServe [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/startServe"]
#define URL_EndServe [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/endServe"]

#define URL_EditProfile [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/editProfile"]

#define URL_CheckExist [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/checkExist"]

#pragma mark - 地址相关
#define URL_ListAddress [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/listAddress"]
#define URL_EditAddress [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/editAddress"]
#define URL_AddAddress [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/user/addAddress"]

#define mark - 七牛相关
#define URL_QiNiu_Token [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/upload/getToken"]

#pragma mark - 订单相关
#define URL_GetCurrentOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/getCurrentOrder"]
#define URL_ConfirmOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/confirmOrder"]

#define URL_StartOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/startOrder"]
#define URL_CancelOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/cancelOrder"]

#define URL_CloseOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/closeOrder"]

#define URL_GetOrderList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/getOrderList"]

#define URL_OLD_CancelOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/cancelOrder"]

#define URL_OLD_GetOrderList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/getOrderList"]

#define URL_OLD_GetOrderDetail [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/getOrderDetail"]

#pragma mark - 老年人请求服务相关

#define URL_SendRequest [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/sendRequest"]

#define URL_CancelPublish [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/cancelPublish"]

#define URL_OLD_GetCurrentOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/getCurrentOrder"]

#pragma mark - 服务类型

#define URL_GetServeCategory [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/serveCategory/getServeCategory"]

#define URL_GetAvailableList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/serveCategory/getAvailableList"]

#define URL_GetAllServeCategory  [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/serveCategory/getAllServeCategory"]

#pragma mark - 证书相关

#define URL_SubmitApprove [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/submitApprove"]

#pragma mark - 评价相关
#define URL_GetEstimateList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/getEstimateList"]

#define URL_AddEstimate [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userOld/addEstimate"]

#pragma mark - 护工匹配
#define URL_StartServer [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/startServe"]

#define URL_EndServe [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/endServe"]

#define URL_GetCurrentOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/getCurrentOrder"]

#define URL_StartOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/startOrder"]

#define URL_CloseOrder [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/closeOrder"]

#pragma mark - 家属相关

#define URL_Family_SendRequest [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/sendRequest"]

#define URL_GetRelationList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/getRelationList"]

#define URL_EditRelation [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/editRelation"]

#define URL_Family_SendRequest [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/sendRequest"]

#define URL_BindUserOld [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/bindUserOld"]

#define URL_RegisterAndBind [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/registerAndBind"]

#define URL_Family_GetOrderList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/getOrderList"]

#define URL_Family_GetCurrentOrder  [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userFamily/getCurrentOrder"]

#pragma mark - 老年圈
#define URL_GetAllFeedList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/getAllFeedList"]

#define URL_GetDetailByFid [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/getDetailByFid"]

#define URL_GetCommentByFid [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/getCommentByFid"]

#define URL_AddComment [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/addComment"]

#define URL_Feed_Like [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/like"]

#define URL_Feed_Unlike [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/unLike"]

#define URL_Feed_AddFeed [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/addFeed"]

#define URL_GetFeedMessageList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/feed/getFeedMessageList"]

#pragma mark - 活动相关

#define URL_GetDetail [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getDetail"]

#define URL_GetCategoryList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getCategoryList"]

#define URL_GetComingActivityList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getComingActivityList"]

#define URL_GetHistoryActivityList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getHistoryActivityList"]

#define URL_Activity_join [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/join"]

#define URL_Activity_GetCommentByAid [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getCommentByAid"]

#define URL_Activity_AddComment [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/addComment"]

#define URL_Activity_GetMyJoinList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getMyJoinList"]

#define URL_Activity_GetUserOldJoinList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/activity/getUserOldJoinList"]

#pragma mark - 支付相关
#define URL_Pay_Sign [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/pay/sign"]

#define URL_Pay_Balance [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/pay/balance"]

#define URL_Pay_Consume [NSString stringWithFormat:@"%@/%@", URL_HOST, @"/api/pay/consume"]

#pragma mark - 定位

#define URL_SendGeo [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/userServer/sendGeo"]

#pragma mark - 通用服务

#define URL_SearchServeCategory [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/serveCategory/searchServeCategory"]
#define URL_GetBannerList [NSString stringWithFormat:@"%@/%@", URL_HOST, @"api/adv/getBannerList"]

#endif /* NetWorkSettings_h */
